package com.itsu.interfaces.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "recommend_user")
public class RecommendUser implements java.io.Serializable {
    //主键id
    private ObjectId id;
    //推荐的用户id
    private Long userId;
    //用户id
    private Long toUserId;
    //推荐得分
    private Double score =0d;
    //日期
    private String date;
}